package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件链接对象 t_common_file_url
 * 
 * @author ruoyi
 * @date 2023-12-08
 */
public class TCommonFileUrl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文件ID */
    private Long fileId;

    /** 业务ID */
    @Excel(name = "业务ID")
    private Long businessId;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String businessName;

    /** 业务键值 */
    @Excel(name = "业务键值")
    private String businessKeyValue;

    /** 业务键名 */
    @Excel(name = "业务键名")
    private String businessKeyName;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** URL地址 */
    @Excel(name = "URL地址")
    private String fileUrl;

    /** 删除标识 （0代表存在 2代表删除） */
    private String delFlag;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setBusinessKeyValue(String businessKeyValue) 
    {
        this.businessKeyValue = businessKeyValue;
    }

    public String getBusinessKeyValue() 
    {
        return businessKeyValue;
    }
    public void setBusinessKeyName(String businessKeyName) 
    {
        this.businessKeyName = businessKeyName;
    }

    public String getBusinessKeyName() 
    {
        return businessKeyName;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("businessId", getBusinessId())
            .append("businessName", getBusinessName())
            .append("businessKeyValue", getBusinessKeyValue())
            .append("businessKeyName", getBusinessKeyName())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
